package com.gitee.hermer.engine.jars.core.eventbus;

import java.io.Serializable;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

import com.gitee.hermer.engine.jars.core.eventbus.listener.MessageListener;

public interface IEventBusListener<E extends Serializable,R,ML extends MessageListener<R>> extends InitializingBean,DisposableBean{
	
	public void topicMessageListener(E event,ML messageListener);
	
	public void queueMessageListener(E event,ML messageListener);
	
}
